how many segments in the given figure